﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.DAO;
using Com.CMS263.PO;

namespace Com.CMS263.BLL
{
    public class VoteTopicBLL : BaseBLL<VoteTopic>
    {
        VoteTopicDAO dao = new VoteTopicDAO();
        public VoteTopic entity = new VoteTopic();
        public override VoteTopic GetModel()
        {
            return entity;
        }
        public int GetMaxId()
        {
            return dao.GetMaxId();
        }
        public IList<VoteTopic> GetListByPager(int page, int pagesize,int listid)
        {
            return dao.GetListByPager(page, pagesize,listid);
        }
        public int GetListByPager(int listid)
        {
            return dao.GetListByPager(listid);
        }
        
    }
}
